package com.luminary.demo.business.client;

import org.springframework.cloud.openfeign.FeignClient;

import com.luminary.component.feign.interceptor.LuminaryRequestInterceptor;
import com.luminary.demo.business.client.hystrix.UserClientHystrix;
import com.luminary.demo.user.meta.ServerInfo;
import com.luminary.demo.user.meta.UserApiConstants;
import com.luminary.demo.user.provider.UserProvider;

@FeignClient(name=ServerInfo.APPLICATION_NAME, path=ServerInfo.CONTEXT_PATH + "/" + UserApiConstants.ROOT_PATH, fallback=UserClientHystrix.class, configuration = LuminaryRequestInterceptor.class)
public interface UserClient extends UserProvider {
	
}
